#ifndef HTTP_CONNECTION_MGR_H
#define HTTP_CONNECTION_MGR_H

#include <set>
#include <boost/noncopyable.hpp>
#include "connection.h"

namespace jump{
	namespace server{
		class Connection_Manage
			:private boost::noncopyable
		{
		public:
			void start(connection_ptr arg_c);

			void stop(connection_ptr arg_c);

			void stop_all();

		private:

			std::set<connection_ptr> connections_;

		};
	}//server

}//jump

#endif//HTTP_CONNECTION_MGR_H